#!/bin/sh

CP=.
CP=${CP}:../../../../../../../../src/main/java
CP=${CP}:../../../../../../../../lib/nrm_rms.jar
CP=${CP}:../../../../../../../../lib/nrm_rms_stubs.jar
CP=${CP}:../../../../../../../../target/fenius-translator-glambda-0.0.1-SNAPSHOT.jar
CP=${CP}:../../../../../../../../../fenius-api/target/fenius-api-0.0.1-SNAPSHOT.jar
CP=${CP}:../../../../../../../../../fenius-util/target/fenius-util-0.0.1-SNAPSHOT.jar	    
CP=${CP}:../../../../../../../../target/fenius-translator-glambda-0.0.1-SNAPSHOT.one-jar.jar

for i in ${GLOBUS_LOCATION}/lib/*.jar ${GLOBUS_LOCATION}/lib/common/*.jar
do
    CP=${CP}:"$i"
done

wsgen -cp ${CP} -keep is.glif.fenius.translators.glambda.GlambdaTranslator
java -cp ${CP} is.glif.fenius.translators.glambda.Test

